package com.smedi.ismedi.inmail.core.port.adapter.persistence.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smedi.ismedi.database.starter.model.BasicFieldEntity;
import lombok.*;

import java.io.Serializable;

/**
 * 流程附件表
 *
 * @author niuyanling
 * @date 2021/08/05
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName(value = "ACT_HI_ATTACHMENT")
public class ProcessAttachmentEntity implements Serializable {
    /**
     * id
     */
    @TableId(value = "ID_")
    private String id;

    /**
     * rev
     */
    @TableField(value = "REV_")
    private String rev;

    /**
     * 用户id
     */
    @TableField(value = "USER_ID_")
    private String userId;

    /**
     * 名字
     */
    @TableField(value = "NAME_")
    private String name;

    /**
     * 描述
     */
    @TableField(value = "DESCRIPTION_")
    private String description;

    /**
     * 类型
     */
    @TableField(value = "TYPE_")
    private String type;

    /**
     * 任务id
     */
    @TableField(value = "TASK_ID_")
    private String taskId;

    /**
     * 根流程实例id
     */
    @TableField(value = "ROOT_PROC_INST_ID_")
    private String rootProcInstId;

    /**
     * 流程实例id
     */
    @TableField(value = "PROC_INST_ID_")
    private String procInstId;

    /**
     * url
     */
    @TableField(value = "URL_")
    private String url;

    /**
     * 内容id
     */
    @TableField(value = "CONTENT_ID_")
    private String contentId;

    /**
     * 租客id
     */
    @TableField(value = "TENANT_ID_")
    private String tenantId;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME_")
    private String createTime;

    /**
     * 移除时间
     */
    @TableField(value = "REMOVAL_TIME_")
    private String removalTime;
}
